package com.hx.pojo;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@Component
@Service
public class User {
    public void add(){
        System.out.println("我是被增强的方法，执行了！");
        String s = "检查通过";
        System.out.println(s);
    }

    public void cherData(){
        System.out.println("目标方法异常");
    }
}
